#ifndef __MSGDLGH_G__
#define __MSGDLGH_G__

#include "wx/defs.h"
#include "wx/dialog.h"

extern WXDLLEXPORT_DATA( const wxChar ) wxMessageBoxCaptionStr[];

class wxGenericMessageDialog: public wxDialog, public wxMessageDialogBase {
    DECLARE_DYNAMIC_CLASS( wxGenericMessageDialog )

  public:
    wxGenericMessageDialog( wxWindow *parent, const wxString& message,
                            const wxString& caption = wxMessageBoxCaptionStr,
                            long style = wxOK | wxCENTRE, const wxPoint& pos = wxDefaultPosition );

    void OnYes( wxCommandEvent& event );
    void OnNo( wxCommandEvent& event );
    void OnCancel( wxCommandEvent& event );

  private:
    DECLARE_EVENT_TABLE()
};

#define wxMessageDialog wxGenericMessageDialog

#endif
